package com.tian.common.enums;

import lombok.Getter;

/**
 * {@code @description:} TODO
 *
 * @author tianwc 公众号：Java后端技术全栈
 * 在线刷题 1200+java面试题和1000+篇技术文章：<a href="https://woaijava.cc/">博客地址</a>
 * {@code @date:} 2024-11-09 23:06
 * {@code @version:} 1.0
 */
@Getter
public enum ExchangeCodeStatusEnum {
    NOT_USED(0, "未使用"),
    USING(1, "使用中"),
    USED(2, "已使用"),
    EXPIRED(3, "已过期");

    private final int code;
    private final String message;

    ExchangeCodeStatusEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
